var app=getApp()
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    // swipersrc:{
    //   type:String,
    //   value:'http://icon.tongchengyouzhi.com/image//1.jpg'
    // },
    itemArray:{
      type:Array,
      value:[
        {
          id:'1024',
          src:'http://icon.tongchengyouzhi.com/image//1.jpg',
          url:''
        },
        {
          id: '1024',
          src: 'http://icon.tongchengyouzhi.com/image//1.jpg'
        },
        {
          id: '1024',
          src: 'http://icon.tongchengyouzhi.com/image//1.jpg'
        },
        {
          id: '1024',
          src: 'http://icon.tongchengyouzhi.com/image//1.jpg'
        },
        {
          id: '1024',
          src: 'http://icon.tongchengyouzhi.com/image//1.jpg'
        }
      ]
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
   
  },

  /**
   * 组件的方法列表
   */
  getCallBack:function(res){
    console.log('CallBakc')
    console.log(res)
  },
  methods: {
     getContent:function(event){
       console.log(event)
       var id=event.currentTarget.dataset.id
       app.qingqiu('chart/chart/'+id,{id:id},'','',this.getCallBack)
     },
    
  }
})
